package designpatterns.bridge.code;

/**
 * 抽象层 ： 作为桥，连接实现与抽象
 */
public abstract class PhoneBridge {
    private Brand brand;

    public PhoneBridge(Brand brand) {
        this.brand = brand;
    }

    protected void open() {
        brand.open();
    }

    protected void close() {
        brand.close();
    }

    protected void call() {
        brand.call();
    }

}
